package cc.noau.coder.bean;


import cc.noau.coder.bean.Column;

import java.util.List;

/**
 * <h1> 表信息描述 </h1>
 * <p>
 * <b>描述：</b>
 * 代表某张数据库表的元数据信息
 * </p>
 */
public class Table {
    /**
     * 表名
     */
    private String tableName;
    /**
     * 表说明
     */
    private String tableComment = "";
    /**
     * 列信息
     */
    private List<Column> columns;
    /**
     * 主键信息
     */
    private List<Column> primaryKeys;

    public String getTableComment() {
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }

    public List<Column> getColumns() {
        return columns;
    }

    public void setColumns(List<Column> columns) {
        this.columns = columns;
    }

    public List<Column> getPrimaryKeys() {
        return primaryKeys;
    }

    public void setPrimaryKeys(List<Column> primaryKeys) {
        this.primaryKeys = primaryKeys;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

}
